package com.jumi.microservice.dto.reponse;

import com.jumi.microservice.enums.ConsumerType;
import com.jumi.microservice.enums.Level;
import com.jumi.microservice.enums.SalesStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@ApiModel("会员业绩返回结果")
public class SalesReponse extends BaseUserReponse{



    private LocalDateTime createTime;

    @ApiModelProperty("业绩获得人id")
    private Integer uid;
    @ApiModelProperty("购买人id")
    private Long buyerId;
    @ApiModelProperty("订单编号")
    private String orderSn;
    @ApiModelProperty("购买人等级")
    private Level buyerLevel;
    @ApiModelProperty("订单id")
    private Long orderId;
    @ApiModelProperty("订单价格")
    private BigDecimal orderAmount;
    @ApiModelProperty("删除标记")
    private Integer isDel;
    @ApiModelProperty("业绩状态")
    private SalesStatus status;


    private LocalDateTime utime;
    @ApiModelProperty("购买人名字")
    private String sname;//购买者名字
    @ApiModelProperty("购买人手机号")
    private String smobile;//购买者手机号
    @ApiModelProperty("消费类型")
    private ConsumerType consumerType;

    public ConsumerType getConsumerType() {
        return consumerType;
    }

    public void setConsumerType(ConsumerType consumerType) {
        this.consumerType = consumerType;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Long getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Long buyerId) {
        this.buyerId = buyerId;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public Level getBuyerLevel() {
        return buyerLevel;
    }

    public void setBuyerLevel(Level buyerLevel) {
        this.buyerLevel = buyerLevel;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public SalesStatus getStatus() {
        return status;
    }

    public void setStatus(SalesStatus status) {
        this.status = status;
    }

    public LocalDateTime getUtime() {
        return utime;
    }

    public void setUtime(LocalDateTime utime) {
        this.utime = utime;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSmobile() {
        return smobile;
    }

    public void setSmobile(String smobile) {
        this.smobile = smobile;
    }
}
